<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试jquerySocket页面</title>
</head>
<body>
<script type="text/javascript" src="/static/lib/jquery.websocket.js"></script>
<script type="text/javascript" src="/static/lib/jquery.js"></script>
<script type="text/javascript">
    var webSockt = $.websocket("ws://localhost:8082/");     //假设浏览器肯定支持websocket


</script>


</body>
</html>